package com.sanjiahantang.youjiaclient.module.store.beans;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.sanjiahantang.youjiaclient.base.BaseBean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by zy on 2017/9/4.
 * 体验店模型
 */

public class StoreBean extends BaseBean{

    private String data;

    public Data getData() {
        return new Gson().fromJson(data,Data.class);
    }

    public void setData(String data) {
        this.data = data;
    }

    public static class Data extends ListBean{
        private List<Item> list;

        public List<Item> getList() {
            return list;
        }

        public void setList(List<Item> list) {
            this.list = list;
        }
    }

    public static class Item{

        private int isExperience;
        private String roleId;
        private String experienceAddressDetail;
        private int isExperienceStatus;
        private String experienceAddress;
        private double lon;
        private String updateTime;
        private String createTime;
        private String experienceName;
        private int id;
        private double lat;
        private double distance;
        private String url;
        private ArrayList<Icon> iconList;
        private String linkPersonPhone;

        public String getLinkPersonPhone() {
            return linkPersonPhone;
        }

        public void setLinkPersonPhone(String linkPersonPhone) {
            this.linkPersonPhone = linkPersonPhone;
        }

        public ArrayList<Icon> getIconList() {
            return iconList;
        }

        public void setIconList(ArrayList<Icon> iconList) {
            this.iconList = iconList;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public double getDistance() {
            return distance;
        }

        public void setDistance(double distance) {
            this.distance = distance;
        }

        public int getIsExperience() {
            return isExperience;
        }

        public void setIsExperience(int isExperience) {
            this.isExperience = isExperience;
        }

        public String getRoleId() {
            return roleId;
        }

        public void setRoleId(String roleId) {
            this.roleId = roleId;
        }

        public String getExperienceAddressDetail() {
            return experienceAddressDetail;
        }

        public void setExperienceAddressDetail(String experienceAddressDetail) {
            this.experienceAddressDetail = experienceAddressDetail;
        }

        public int getIsExperienceStatus() {
            return isExperienceStatus;
        }

        public void setIsExperienceStatus(int isExperienceStatus) {
            this.isExperienceStatus = isExperienceStatus;
        }

        public String getExperienceAddress() {
            return experienceAddress;
        }

        public void setExperienceAddress(String experienceAddress) {
            this.experienceAddress = experienceAddress;
        }

        public double getLon() {
            return lon;
        }

        public void setLon(double lon) {
            this.lon = lon;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getExperienceName() {
            return experienceName;
        }

        public void setExperienceName(String experienceName) {
            this.experienceName = experienceName;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public double getLat() {
            return lat;
        }

        public void setLat(double lat) {
            this.lat = lat;
        }
    }

    public static class Icon{
        private String url;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }

}
